/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.oktago.ibore;

/**
 *
 * @author massimo
 */
public class Const {
    //public static final String APP_ID = "icar.cnr.it";
    public static final String APP_ID="oktago.com";
    //public static final String BASEPATH = "http://icar.cnr.it/"; //this is the only value that should be changed for different customers
    public static final String BASEPATH = "http://oktago.com/"; //this is the only value that should be changed for different customers
    //public static final String SERVICE_PATH = "index.php?option=com_bore&view=object&format=services&action=";
    public static final String TYPES_LOCAL_PATH = "/data/data/com.oktago.ibore/"; //absolute path of iBorè private files
    public static final String TYPES_LOGGED_FILENAME = "composite_types_logged.json"; //relative path
    public static final String TYPES_VISITOR_FILENAME = "composite_types_visitor.json"; //relative path
    public static final String ICON_LOCAL_PATH = "/data/data/com.oktago.ibore/icons/"; //absolute path
    public static final String ICON_REMOTE_PATH = "templates/bore/icons/"; //relative path    
    public static final String LOG_TAG="iBorè";
    public static final String TOKEN_URL="index.php?option=com_bore&index.php?option=com_bore&controller=auth&task=getToken";
    public static final String COUNT_ROOT_SUBTYPES_URL="index.php?option=com_bore&view=object&format=services&action=jsonlistcount&params[idt]=<idt>";
    public static final String COUNT_NODE_SUBTYPES_URL="index.php?option=com_bore&view=object&format=services&action=jsonlistcount&params[idt]=<idt>&params[root]=<root>";
    public static final String LIST_ROOT_SUBTYPES_URL="index.php?option=com_bore&view=object&format=services&action=jsonlist&params[idt]=<idt>&params[page]=<page>&params[ipp]=<ipp>";
    public static final String LIST_NODE_SUBTYPES_URL="index.php?option=com_bore&view=object&format=services&action=jsonlist&params[idt]=<idt>&params[page]=<page>&params[ipp]=<ipp>&params[root]=<root>";
    public static final String INSTANCE_DETAIL_URL="index.php?option=com_bore&view=object&format=services&action=jsondetails&params[id]=<id>";
    public static final String ROOT_TYPES_PATH="index.php?option=com_bore&view=object&format=services&action=jsonnode";
    public static final String SUB_TYPES_PATH="index.php?option=com_bore&view=object&format=services&action=jsonnode&params[root]=<id>";
    public static final String TYPE_DETAIL_URL="index.php?option=com_bore&view=object&format=services&action=jsontypedetails&params[id]=<id>";
    public static final String VERSION_URL="index.php?option=com_bore&view=object&format=services&action=jsonversion";
    public static final String LOGIN_URL="index.php";
}
